<template>
  <div>子组件</div>
</template>
<script>
export default {
  props: {
    child: {
      type: Number,
      required: true
    }
  },
  methods: {
    // fn2() {
    //   this.$emit('click')
    // }
  }
}
</script>
